package cn.edu.swpu.cins.u_chain.frontend.service.project;

import cn.edu.swpu.cins.u_chain.frontend.entity.dto.project.AddPro;
import cn.edu.swpu.cins.u_chain.frontend.entity.dto.project.MyProAssess;
import cn.edu.swpu.cins.u_chain.frontend.entity.dto.project.ProAssessView;
import cn.edu.swpu.cins.u_chain.frontend.entity.dto.project.ProViewDetail;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ProjectService {
    int addPro(AddPro addPro, int userId) ;

    int uploadPRD(MultipartFile file, int proId) throws IOException;

    //返回的信息包括技术栈的要求信息
    List<ProViewDetail> getProsInfo(int pageNum);

    List<ProViewDetail> getProsByMe(int userId,int pageNum);

    MyProAssess getMyProAssess(int userId, int pageNum);
}
